<template>
  <d2-container>
    <template slot="header">
      <el-row class="title">客户信息登记表</el-row>
      <el-row class="button-group">
        <el-button-group>
          <el-button size="small" @click="onSubmit">保存</el-button>
          <el-button size="small" @click="onSubmit">保存并新建</el-button>
          <el-button size="small" icon="el-icon-refresh">重置</el-button>
        </el-button-group>
      </el-row>
    </template>
    <page-form :form='form'></page-form>
  </d2-container>
</template>
<script>
import PageForm from './components/PageForm'
export default {
  name: 'equipment-management-entryform',
  components: {
    PageForm
  },
  data () {
    return {
      form: {
        key: '10',
        name: '',
        sex: '',
        birthday: '',
        IdCard: '',
        age: '',
        tel: '',
        heathy: '',
        bloodtype: '',
        bloodtype2: '',
        medical_history: '',
        note: '',
        state: ''
      }
    }
  },
  methods: {
    onSubmit () {
    }
  }
}
</script>
<style scoped>
  .title{margin-bottom: 20px;}
</style>
